#include <stdio.h>

#include "DCList.h"

int main()
{
    Node* head = NULL;
    DListInit(&head);

    DListPushBack(head, 1);
    DListPushBack(head, 2);
    DListPushBack(head, 3);
    DListPushBack(head, 4);
    DListPushBack(head, 5);
    DListPushBack(head, 6);
    TestDList(head);

    DListPushFront(head, 0);
    TestDList(head);

    DListPopFront(head);
    TestDList(head);

    DListPopBack(head);
    DListPopBack(head);
    DListPopBack(head);
    TestDList(head);

    DListDestroy(&head);
}
